package com.taxx.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * 身份信息报送DTO
 */
@Data
public class TaxIdentityReportDTO {
    
    private Long id;
    
    @NotBlank(message = "纳税人名称不能为空")
    private String taxpayerName;
    
    @NotBlank(message = "统一社会信用代码不能为空")
    private String creditCode;
    
    @NotBlank(message = "商户ID不能为空")
    private String merchantId;
    
    @NotBlank(message = "商户名称不能为空")
    private String merchantName;
    
    @NotBlank(message = "详细地址不能为空")
    private String detailedAddress;
    
    @NotBlank(message = "联系人不能为空")
    private String contactPerson;
    
    @NotBlank(message = "联系电话不能为空")
    private String contactPhone;
    
    @NotNull(message = "是否办理市场主体登记不能为空")
    private Integer hasRegistration;
    
    @NotNull(message = "经营开始时间不能为空")
    private LocalDate businessStartTime;
    
    @NotBlank(message = "操作类型代码不能为空")
    private String operationTypeCode;
    
    private String website;
    private String professionalServiceIdentifier;
    private String settlementAccountInfo;
    private LocalDate reportTime;
}
